.TH E1432_CHECK_SRC_SHUTDOWN 3 E1432
.SH NAME
e1432_check_src_shutdown \- Check for source shutdown
.IX e1432_check_src_shutdown(3) 3
.IX e1432_check_src_overload(3) 3
.IX e1432_check_src_overread(3) 3
.IX e1432_check_src_underrun(3) 3
.SH SYNOPSIS
.cS
SHORTSIZ16 e1432_check_src_shutdown(E1432ID hw, SHORTSIZ16 chanID)

SHORTSIZ16 e1432_check_src_overload(E1432ID hw, SHORTSIZ16 chanID)

SHORTSIZ16 e1432_check_src_overread(E1432ID hw, SHORTSIZ16 chanID)

SHORTSIZ16 e1432_check_src_underrun(E1432ID hw, SHORTSIZ16 chanID)

.cE
.SH DESCRIPTION

\fIe1432_check_src_shutdown\fR returns a 1 if the queried source is shutdown.
It returns a 0 if not shutdown.

\fIe1432_check_src_overload\fR returns a 1 if the queried source has been
overdriven by an external signal.  It returns a 0 if not.

\fIe1432_check_src_overrread\fR returns a 1 if the queried source has run out
of arbdata.  It returns a 0 if not.

\fIe1432_check_src_underrun\fR returns a 1 if the queried source has run out
of real-time (results in the output signal being turned off).  
It returns a 0 if not.

These checks are used to check the cause of an E1432_IRQ_SRC_STATUS interrupt.

For \fIe1432_check_src_overread\fR, the cause is cleared by its associated 
check function.  Another interrupt should not occur for the same cause until 
that cause has been cleared.  This also allows the causes to be latched in 
case polling is desired instead of an interrupt. 

\fIhw\fR must be the result of a successful call to
\fIe1432_assign_channel_numbers\fR, and specifies the group of
hardware to talk to.

\fIchanID\fR is the ID of a group or single channel.

.SH "RESET VALUE"
Not applicable.
.SH "RETURN VALUE"
Return 1 if the check is true, a 0 if the check is false, a (negative) error number otherwise.
.SH "SEE ALSO"
.na
e1432_check_src_arbrdy
.ad
